home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl1615.lha / h / convex.h < prev    next >
C/C++ Source or Header  |  1990-02-05  |  572b  |  27 lines

  1. #define    CONVEX
  2. #include "bsd.h"
  3.  
  4. #define ADDITIONAL_FEATURES \
  5.              ADD_FEATURE("CONVEX");
  6.                    
  7. #undef   FILECPY_HEADER
  8. #define FILECPY_HEADER \
  9.     if (header.a_magic == ZMAGIC) \
  10.         filecpy(save, original, PAGSIZ - sizeof(header)); \
  11.     filecpy(save, original, header.a_text);
  12.  
  13. #define DATA_BEGIN (char *)((TXTRELOC+header.a_text+(SEGSIZ-1)) & ~(SEGSIZ-1))
  14.  
  15.  
  16.  
  17. #define    PAGSIZ        0x1000
  18. #define    SEGSIZ        0x1000
  19. #define    TXTRELOC    header.a_torigin
  20.  
  21. /* smallest address for a page table entry */
  22. #define DBEGIN  0x80000000
  23. /* Begin for cmpinclude */
  24.  
  25.  
  26. /* End for cmpinclude */
  27.